/**
 * create by young (young2f@outlook.com) on 2020/8/16
 */
'use strict';
module.exports = app => {
  const { router, controller } = app;
  router.post('/api/vendor/create', controller.vendor.createVendor);
  router.post('/api/vendor/update', controller.vendor.updateVendor);
  router.post('/api/vendor/delete', controller.vendor.deleteVendor);
  router.post('/api/vendor/find/many', controller.vendor.findManyVendor);
  router.post('/api/vendor/find/detail', controller.vendor.findDetail);
  router.post('/api/vendor/find/material', controller.vendor.findVendorMaterial);
  router.post('/api/vendor/store/assess', controller.vendor.storeAssess);
  //router.post('/api/customer/find', controller.customer.findOne);
};
